package com.ln.demo01;

/**
 * @author Ln
 * @version 终极版
 * @date 2022/10/25 15:34
 */
public class Test01 {
    public static void main(String[] args) {
        Point point = new Point(11,12);
        System.out.println(point);

        Point point1 = new Point("哈哈","呵呵");
        System.out.println(point1);

        Point point2 = new Point(12.3,14.5);
        System.out.println(point2);

        Point point3 = new Point("你好世界",11);
        String x = (String) point3.getX();
        Integer y = (Integer) point3.getY();
        System.out.println(point3);
    }
}
